package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryItemQueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteById(Long id);

    int insert(SystemDictionaryItem systemDictionaryItem);

    SystemDictionaryItem selectById(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateById(SystemDictionaryItem systemDictionaryItem);

    List<SystemDictionaryItem> queryForList(SystemDictionaryItemQueryObject qo);

    List<SystemDictionaryItem> selectByParentId(Long parentId);

    List<SystemDictionaryItem> selectByParentSn(String sn);
}